Ext.define('BM.view.goods.VendorList' ,{
    extend: 'Ext.grid.Panel',
    alias : 'widget.vendorlist',
    title : '供应商列表',
    store : 'Vendors',
    initComponent: function() {

        this.columns = [
            {header: '供应商编号',  dataIndex: 'vendorNum',  flex: 1},
            {header: '供应商全称', dataIndex: 'vendorName', flex: 1},
            {header: '供应商简称', dataIndex: 'vendorName_S', flex: 1},
            {header: '联系人',  dataIndex: 'contacter',  flex: 1},
            {header: '联系电话', dataIndex: 'telephone', flex: 1},
            {header: '联系地址', dataIndex: 'address', flex: 1},
            {header: '默认供货商',  dataIndex: 'defautFlag',  flex: 1},
            {header: '备注', dataIndex: 'memo', flex: 1}
        ];

        this.callParent(arguments);
    }
});